﻿using System;
using System.Text;


namespace HAVNet.Core.Bits
{
    class Buffer
    {
        public static string buffToString (byte [] buff, string format)
        {
            StringBuilder sb = new StringBuilder();

            foreach (byte bx in buff)
                sb.AppendFormat (format, bx);

            return sb.ToString();
        }
    }
}
